package com.kuaimacode.kframework.mybatis.models.user;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@TableName("user_certifacate")
public class UserCertifacate {

    @ApiModelProperty(value = "用户ID")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @TableId("user_id")
    @ApiModelProperty(value = "用户ID")
    private Long userId;

    @TableId("name")
    @ApiModelProperty(value = "姓名")
    private String name;

    @ApiModelProperty(value = "身份证号")
    @TableId("id_card")
    private String idCard;

    @ApiModelProperty(value = "身份证正面照片")
    @TableId("card_positive")
    private String cardPositive;

    @ApiModelProperty(value = "身份证反面照片")
    @TableId("card_negative")
    private String cardNegative;

    @ApiModelProperty(value = "头像照片")
    @TableId("head_pic")
    private String headPic;

    @ApiModelProperty(value = "技能图片")
    @TableId("skill_pic")
    private String skillPic;
}